package com.fay.designPattern.principles.lod;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/3/3 20:53
 * @Version 1.0
 */
public class Demo_1 {
    private Serializable serializable;

    public Demo_1(Serializable serializable) {
        this.serializable = serializable;
    }

    public void demo1Serialize(Object object) {
        String serialize = serializable.serialize(object);
    }
}
